﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AssetManagementSystem.Model
{
    public class Student
    {
        string studentId;
        string firstName;
        string lastName;
        string emailAddress;

        public Student(string studentId, string firstName, string lastName, string emailAddress)
        {
            this.studentId = studentId;
            this.firstName = firstName;
            this.lastName = lastName;
            this.emailAddress = emailAddress;
        }

        public override string ToString()
        {
            return studentId + 
                " - " +
                firstName + 
                " " +
                lastName +
                " - " +
                emailAddress;
        }

        public string EmailAddress
        {
            get { return emailAddress; }
            set { emailAddress = value; }
        }

        public string LastName
        {
            get { return lastName; }
            set { lastName = value; }
        }

        public string FirstName
        {
            get { return firstName; }
            set { firstName = value; }
        }

        public string StudentId
        {
            get { return studentId; }
            set { studentId = value; }
        }
    }
}
